<template>
  <div class="about">
    <h1>This is an about page</h1>
    <p>{{msg}}</p>
  </div>
</template>
<script>
  import store from '@/store'
  export default {
    name:'about',
    store,
    data(){
        return {
          msg:store.state.count, //引入vuex传递过来的的变量
        }
    }
  }
</script>
